﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.UnityExtensions;

using Microsoft.Practices.Unity;
using Microsoft.Practices.Prism.Regions;

using VIew1.Views;


namespace VIew1
{
    public class View1 : IModule
    {

        private readonly IUnityContainer container;
        private readonly IRegionManager rManager;

        public View1(IUnityContainer c, IRegionManager r)
        {
            container = c;
            rManager = r;
        }

        public void Initialize()
        {

            container.RegisterType<object, MainView>("MainView");
        }
    }
}
